PROGRAM=matmul

SCHEDULER_INSTALL_PATH=${DAG_HOME}
CC = g++
CFLAGS += -DCHECK
CFLAGS +=-O3 -Wall -I${SCHEDULER_INSTALL_PATH}/include
LFLAGS=-L${SCHEDULER_INSTALL_PATH}/lib -ldag_task_scheduler -lpthread -lstdc++ -lrt -ltbb

dag: matmul_dag.c
	$(CC) $(CFLAGS) -o matmul_dag matmul_dag.c $(LFLAGS) 

clean:
	@rm -f *.o  matmul_dag
	@echo Cleaning current directory 
clean_all:
	@rm -f -r *.o *.txt *.log tmp matmul_dag data
	@echo Cleaning current directory